package com.diankangwo.factory.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 佣金交易明细
 */
public class TdDistribution implements Serializable{

    private static final long serialVersionUID = 7247714666080613254L;

    /**
     * id
     */
    private Integer id;

    /**
     * 收支类型 0：收入  1：支出
     */
    private Integer type;

    /**
     * 抽佣用户ID
     */
    private Integer prizeuserid;

    /**
     * 触发用户ID
     */
    private Integer triggeruserid;

    /**
     * 金额
     */
    private Float money;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 抽用户名称
     */
    private String prizeusername;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPrizeuserid() {
        return prizeuserid;
    }

    public void setPrizeuserid(Integer prizeuserid) {
        this.prizeuserid = prizeuserid;
    }

    public Integer getTriggeruserid() {
        return triggeruserid;
    }

    public void setTriggeruserid(Integer triggeruserid) {
        this.triggeruserid = triggeruserid;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getPrizeusername() {
        return prizeusername;
    }

    public void setPrizeusername(String prizeusername) {
        this.prizeusername = prizeusername == null ? null : prizeusername.trim();
    }
}